<%-- 
    Document   : index
    Created on : 2009-01-13, 23:49:48
    Author     : pzietek
--%>

<%@page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<fmt:setBundle basename="pl.wat.main.Properties" var="bundle" scope="session"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
        <link rel="stylesheet" href="style.css" type="text/css">
        <title>SQL2chart Application</title>
    </head>
    <body>
 
        <table width="800px" align="center">
            <tr>
                <td align="center">
                    <b>
                        <fmt:message key="error.main" bundle="${bundle}"/>
                    </b>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <b>
                        <fmt:message key="${requestScope.error}" bundle="${bundle}"/>
                    </b>
                </td>
            </tr>
            <tr>
                <td align="center">
<%         
                    String error = (String) request.getAttribute("sqlerror");
                    
                    if(error!=null && !error.equals("")){
%>
                        <%= error %>
<%
                    }
%>
                </td>
            </tr>
            
        </table>
   
    </body>
</html>
